import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import axios from "axios";
import 'element-ui/lib/theme-chalk/index.css';
import JwChat from 'jwchat';
import moment from "moment"
import less from 'less'
import VueLocalStorage from 'vue-localstorage'


Vue.use(VueLocalStorage)
// Or you can specify any other name and use it via this.$ls, this.$whatEverYouWant
Vue.use(VueLocalStorage, {
  name: 'ls',
  bind: true //created computed members from your variable declarations
})

Vue.use(less)
axios.defaults.baseURL=process.env.VUE_APP_BASE_URL
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(JwChat)
Vue.prototype.$moment = moment;
Vue.prototype.$ls = Vue.localStorage;
new Vue({
  render: h => h(App),
}).$mount('#app')
